package com.gsmr.service;

import java.util.List;
import java.util.Map;

import com.gsmr.entity.Decoding;
import com.gsmr.entity.TCH_Signaling;

/**
 * DecodingService
 * @author Decoding
 *
 */
public interface DecodingService {

	/**
	 * 根据条件查询Decoding集合
	 * @param map
	 * @return
	 */
	public List<Decoding> find(Map<String,Object> map);
	public List<TCH_Signaling> findSignaling(Map<String, Object> map);
	public List<TCH_Signaling> findSignalingASC(Map<String, Object> map);
	public List<String> findTableNames(Map<String,Object> map);
	public List<String> findThread_id(Map<String,Object> map);
	/**
	 * 获取总记录数
	 * @param map
	 * @return
	 */
	public Long getTotal(Map<String,Object> map);
	
	/**
	 * 修改Decoding
	 * @param sdcch
	 * @return
	 */
	public int update(Map<String,Object> map);
	
	/**
	 * 添加Decoding
	 * @param sdcch
	 * @return
	 */
	public int add(Map<String,Object> map);
	
	/**
	 * 删除Decoding
	 * @param id
	 * @return
	 */
	public int delete(Map<String,Object> map);
	
	/**
	 * 通过多个id查询Decoding实体
	 * @param id
	 * @return
	 */
	public List<Decoding> findByIds(Map<String,Object> map);
	
	/**
	 * 根据条件查询Decoding集合
	 * @param map
	 * @return
	 */
	public List<String> findFrontProcessorIds(Map<String, Object> map);
	
	/**
	 * 根据条件查询Decoding集合
	 * @param map
	 * @return
	 */
	public List<Decoding> findIMSIs(Map<String, Object> map);
	
	/**
	 * 根据条件查询Decoding集合
	 * @param map
	 * @return
	 */
	public List<Decoding> findMSISDNs(Map<String, Object> map);
	
	/**
	 * 根据条件查询Decoding集合
	 * @param map
	 * @return
	 */
	public List<Decoding> findCTCS_IDs(Map<String, Object> map);

	public List<TCH_Signaling> findByTimestamp(Map<String, Object> m);
}
